﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using Newtonsoft.Json;

namespace BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormItem
{
	/// <summary>
	/// 工作流模板步骤表单项
	/// </summary>
	public class WorkflowTemplateStepFormItemDto
	{
		/// <summary>
		/// 工作流模板步骤表单项Id
		/// </summary>		
		public long WorkflowTemplateStepFormItemId { get; set; }
		/// <summary>
		/// 表单配置标题
		/// </summary>		
		public string FormConfigTitle { get; set; }
		/// <summary>
		/// 表单配置Code
		/// </summary>		
		public string FormConfigCode { get; set; }
		/// <summary>
		/// 表单项Code
		/// </summary>
		[JsonProperty("id")]
		public string FormItemCode { get; set; }
		/// <summary>
		/// 表单项标题
		/// </summary>		
		[JsonProperty("label")]
		public string ItemTitle { get; set; }
		/// <summary>
		/// 表单项高度
		/// </summary>		
		[JsonProperty("height")]
		public string ItemHeight { get; set; }
		/// <summary>
		/// 表单项顺序
		/// </summary>		
		public int ItemOrder { get; set; }
		/// <summary>
		/// 表单项类型(标题，文本框，文本区，编辑器，单选框，多选框，下拉框，日期框，附件上传，编辑表格)
		/// </summary>		
		[JsonProperty("type")]
		public string ItemType { get; set; }
		/// <summary>
		/// 表单项元素类型
		/// </summary>		
		[JsonProperty("previewType")]
		public string PreviewType { get; set; }
		/// <summary>
		/// 绑定数据库名称
		/// </summary>		
		public string FormDatabase { get; set; }
		/// <summary>
		/// 绑定表名称
		/// </summary>		
		public string FormTable { get; set; }
		/// <summary>
		/// 绑定字段名称
		/// </summary>		
		public string BoundField { get; set; }
		/// <summary>
		/// 表单项配置元素
		/// </summary>		
		[JsonProperty("settingElements")]
		public string SettingElements { get; set; }
		/// <summary>
		/// 创建人Id
		/// </summary>		
		public long CreateAdminId { get; set; }
		/// <summary>
		/// 创建者
		/// </summary>		
		public string CreateAdminName { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>		
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 编辑人Id
		/// </summary>		
		public long? EditAdminId { get; set; }
		/// <summary>
		/// 编辑者
		/// </summary>		
		public string EditAdminName { get; set; }
		/// <summary>
		/// 更新时间
		/// </summary>		
		public DateTime? UpdateTime { get; set; }

	}
}

